package cn.hrlly.tao2shou.domain;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * User: gengliang
 * Date: 2016-01-26
 * Time: 11:37
 */

public class Commodities implements Serializable{
    @SerializedName("release_id")
    private String releaseId;
    @SerializedName("commodity_name")
    private String commodityName;
    @SerializedName("commodity_photo")
    private String commodityPhoto;
    @SerializedName("commodity_price")
    private float commodityPrice;
    @SerializedName("barter_flag")
    private int barterFlag;
    @SerializedName("school")
    private String school;
    @SerializedName("distance")
    private float distance;

    @Override
    public String toString() {
        return "Commodities{" +
                "releaseId='" + releaseId + '\'' +
                ", commodityName='" + commodityName + '\'' +
                ", commodityPhoto='" + commodityPhoto + '\'' +
                ", commodityPrice=" + commodityPrice +
                ", barterFlag=" + barterFlag +
                ", school='" + school + '\'' +
                ", distance=" + distance +
                '}';
    }

    public String getReleaseId() {
        return releaseId;
    }

    public void setReleaseId(String releaseId) {
        this.releaseId = releaseId;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityPhoto() {
        return commodityPhoto;
    }

    public void setCommodityPhoto(String commodityPhoto) {
        this.commodityPhoto = commodityPhoto;
    }

    public double getCommodityPrice() {
        return commodityPrice;
    }


    public void setCommodityPrice(float commodityPrice) {
        this.commodityPrice = commodityPrice;
    }

    public int getBarterFlag() {
        return barterFlag;
    }

    public void setBarterFlag(int barterFlag) {
        this.barterFlag = barterFlag;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(float distance) {
        this.distance = distance;
    }
}
